home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / program / mubmp200.zip / MAINFORM.PAS < prev    next >
Pascal/Delphi Source File  |  1996-06-26  |  753b  |  41 lines

  1. unit Mainform;
  2.  
  3. interface
  4.  
  5. uses
  6.     SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  7.     Forms, Dialogs, ExtCtrls, StdCtrls, MultiBmp;
  8.  
  9. type
  10.   TForm1 = class(TForm)
  11.       CheckBox1: TCheckBox;
  12.       Label1: TLabel;
  13.       MultiBitmap1: TMCMultiBitmap;
  14.     Label2: TLabel;
  15.       procedure CheckBox1Click(Sender: TObject);
  16.       procedure FormCreate(Sender: TObject);
  17.     private
  18.       { Private declarations }
  19.     public
  20.       { Public declarations }
  21.     end;
  22.  
  23. var
  24.     Form1: TForm1;
  25.  
  26. implementation
  27.  
  28. {$R *.DFM}
  29.  
  30. procedure TForm1.CheckBox1Click(Sender: TObject);
  31. begin
  32.     MultiBitmap1.Transparent := CheckBox1.Checked;
  33. end;
  34.  
  35. procedure TForm1.FormCreate(Sender: TObject);
  36. begin
  37.     CheckBox1.Checked := MultiBitmap1.Transparent;
  38. end;
  39.  
  40. end.
  41.